<template>
    <div class="setup"></div>
</template>

<script>
import { toRefs } from 'vue'

import LogicA from '@/func/LogicA'
import LogicB from '@/func/LogicB'
export default {
    props: {},
    setup(props) {
        const params = toRefs(props)
        const { logicAResult } = LogicA(params)
        const {
            logicBResult1,
            logicBResult2,
        } = LogicB(logicAResult)
        return {
            a: logicAResult,
            b1: logicBResult1,
            b2: logicBResult2
        }
    }
}
</script>